package PO;

import java.io.Serializable;

public class PlanPO implements Serializable {
	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private int ID;
	private Department department;
	private String name;
	private int LessonTong;
	private int LessonXuan;
	private int LessonZhuan;
	private int in;
	private int out;
	private int DesignLesson;

	public PlanPO(int id, Department dep, String n, int L1, int L2, int L3,
			int IN, int OUT, int d) {
		ID = id;
		department = dep;
		name = n;
		LessonTong = L1;
		LessonXuan = L2;
		LessonZhuan = L3;
		in = IN;
		out = OUT;
		DesignLesson = d;
	}

	public Department getDep() {
		return (department);

	}

	public int getID() {

		return ID;
	}

	public String getName() {

		return (name);
	}

	public int getLessonTong() {
		return (LessonTong);

	}

	public int getLessonXuan() {
		return (LessonXuan);

	}

	public int getLessonZhuan() {
		return (LessonZhuan);

	}

	public int getDesign() {
		return (DesignLesson);
	}

	public void update(int i, String n, int L1, int L2, int L3, int IN,
			int OUT, int d) {
		ID = i;
		name = n;
		LessonTong = L1;
		LessonXuan = L2;
		LessonZhuan = L3;
		in = IN;
		out = OUT;
		DesignLesson = d;

	}

	public int getOUT() {
		// TODO Auto-generated method stub
		return out;
	}

	public int getIN() {
		return in;
	}

}
